#!/usr/bin/env python
"""
@File : ok.py
@Author: aoyushen
@Date : 2025/8/31
@desc:
"""


# 打印等腰三角形
def new_ok():
    row = eval(input("请输入打印的行数："))
    for i in range(1, row + 1):
        for j in range(1, row + 1 - i):
            print(" ", end="")
        for k in range(1, 2 * i):
            print("*", end="")
        print()


new_ok()
